<?php defined('InShopNC') or exit('Access Invalid!');?>
<link href="<?php echo SHOP_TEMPLATES_URL;?>/css/layout.css" rel="stylesheet" type="text/css">
<div class="block box">
    <div id="ur_here">
        <img src="/public/src/images/category_icon.gif"/>&nbsp;当前位置：
        <?php $navLink = array();
        foreach ($output['nav_link_list'] as $item) { ?>
            <?php if (!empty($item['link'])) {
                $navLink[] = '<a href="' . $item['link'] . '">' . $item['title'] . '</a>';
            } else {
                $navLink[] = $item['title'];
            } ?>
        <? }
        echo implode(' &gt; ', $navLink); ?>
    </div>
</div>
<style type="text/css">
    .my_article_list li{
        width: 280px;
        float: left;
        text-align: center;
        font-size: 14px;
        font-family: "微软雅黑";
        border: 1px #cccccc solid;
        padding: 10px;
        line-height: 30px;
        background: #eeeeee;
        margin: 30px 30px 0 0;
    }
</style>
<div class="block clearfix" style="min-height: 500px;">
    <!--right start-->
    <div class="f_l">
                        <ul class="my_article_list">
                            <?php foreach ($output['article'] as $article) {?>
                            <li>
                                <a href="<?php echo $article['article_url']?$article['article_url']:urlShop('article','show',array('article_id'=>$article['article_id']))  ?>">
                                    <img src="<? echo $article['file_name']?>" style="width: 100%;" ><br /><span style="font-weight: bold;"><? echo $article['article_title']?></span>
                                </a>
                                <p style="text-indent: 2em; padding: 5px; line-height: 150%; color: #999999; border-radius: 5px; border: 1px #CCCCCC dotted; text-align: left; background: #ffffff;"><? echo $article['article_description']?></p>
                            </li>
                            <?php }?>
                        </ul>
                        <br style="clear: both;" />



    </div>
    <?php if($output['total_page']>1){?>
        <div class="tc mb20">  <div class="pagination"> <?php echo $output['show_page'];?> </div></div>
    <?}?>
    <!--right end-->
</div>
